Skip to content

Conversation

@okwasniewski
Copy link
Member

@okwasniewski okwasniewski commented Nov 2, 2024

This PR should close #41

It adds new option for routes namely hidden: boolean.

Users can pass hidden: true (we can also make tabBarButton: () => null; work if necessary) and the tab is hidden until user navigates to it programatically, when he leaves the tab it disappears.

iOS

CleanShot.2024-11-02.at.10.16.32.mp4

Android

It's 1:1 match with JS bottom tabs behaviour

CleanShot.2024-11-02.at.10.53.38.mp4

@okwasniewski okwasniewski force-pushed the feat/hiding-tabs branch 3 times, most recently from dd21e0e to 8eb217b Compare November 6, 2024 15:44
@okwasniewski okwasniewski merged commit 96eda94 into main Nov 6, 2024
@okwasniewski okwasniewski deleted the feat/hiding-tabs branch November 6, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support hiding tabs for routes

2 participants